package com.yw.swagger.tool.config;


import java.util.HashMap;
import java.util.Map;

/**
 * @description: 错误码定义类
 * @author: lil
 * @create: 2019-09-16 17:36
 **/

public class ErrorCode {

    public Map<Integer,String> setSysErrorCode(){
        HashMap<Integer, String> map = new HashMap<Integer, String>();
        map.put(20000,"请求成功");
        map.put(50008,"账户不存在或密码错误");
        map.put(50009,"您无访问权限");
        map.put(50010,"未登录或登录超时,请重新登录");
        map.put(50011,"其他客户登录");
        map.put(60000,"未知异常,请联系管理员");
        return  map;
    }
}
